<html>
 <body>
  <p>
   <strong>MAVLink Include Files:</strong>
   <a href="common.md">common.xml</a>
  </p>
  <h2>MAVLink Protocol Version</h2>
  <p>The current MAVLink version is 2.3. The minor version numbers (after the dot) range from 1-255.</p>
  <h2 id="enums">MAVLink Type Enumerations</h2>
  <a id="MAV_CMD">
  </a>
  <h2 id="mav_commands">MAVLink Commands (<a href="#mav_commands">MAV_CMD</a>)</h2>
  <blockquote class="alert alert-info clearfix">
   <strong class="fa fa-2x fa-edit">
   </strong>
   <p>MAVLink commands (<a href="#mav_commands">MAV_CMD</a>) and messages are different! These commands define the values of up to 7 parameters that are packaged INSIDE specific messages used in the Mission Protocol and Command Protocol. Use commands for actions in missions or if you need acknowledgment and/or retry logic from a request. Otherwise use messages.</p>
  </blockquote>
  <h2 id="messages">MAVLink Messages</h2>
  <h3 id="SCRIPT_ITEM">SCRIPT_ITEM (<a href="#SCRIPT_ITEM">
    #180
   </a>
   )
  </h3>
  <p>
   <a href="#messages">
    [Message]
   </a>Message encoding a mission script item. This message is emitted upon a request for the next script item.</p>
  <table class="sortable">
   <thead>
    <tr>
     <th>Field Name</th>
     <th>Type</th>
     <th>Description</th>
    </tr>
   </thead>
   <tbody>
    <tr>
     <td>target_system</td>
     <td>uint8_t</td>
     <td>System ID</td>
    </tr>
    <tr>
     <td>target_component</td>
     <td>uint8_t</td>
     <td>Component ID</td>
    </tr>
    <tr>
     <td>seq</td>
     <td>uint16_t</td>
     <td>Sequence</td>
    </tr>
    <tr>
     <td>name</td>
     <td>char[50]</td>
     <td>The name of the mission script, NULL terminated.</td>
    </tr>
   </tbody>
  </table>
  <h3 id="SCRIPT_REQUEST">SCRIPT_REQUEST (<a href="#SCRIPT_REQUEST">
    #181
   </a>
   )
  </h3>
  <p>
   <a href="#messages">
    [Message]
   </a>Request script item with the sequence number seq. The response of the system to this message should be a <a href="#SCRIPT_ITEM">SCRIPT_ITEM</a> message.</p>
  <table class="sortable">
   <thead>
    <tr>
     <th>Field Name</th>
     <th>Type</th>
     <th>Description</th>
    </tr>
   </thead>
   <tbody>
    <tr>
     <td>target_system</td>
     <td>uint8_t</td>
     <td>System ID</td>
    </tr>
    <tr>
     <td>target_component</td>
     <td>uint8_t</td>
     <td>Component ID</td>
    </tr>
    <tr>
     <td>seq</td>
     <td>uint16_t</td>
     <td>Sequence</td>
    </tr>
   </tbody>
  </table>
  <h3 id="SCRIPT_REQUEST_LIST">SCRIPT_REQUEST_LIST (<a href="#SCRIPT_REQUEST_LIST">
    #182
   </a>
   )
  </h3>
  <p>
   <a href="#messages">
    [Message]
   </a>Request the overall list of mission items from the system/component.</p>
  <table class="sortable">
   <thead>
    <tr>
     <th>Field Name</th>
     <th>Type</th>
     <th>Description</th>
    </tr>
   </thead>
   <tbody>
    <tr>
     <td>target_system</td>
     <td>uint8_t</td>
     <td>System ID</td>
    </tr>
    <tr>
     <td>target_component</td>
     <td>uint8_t</td>
     <td>Component ID</td>
    </tr>
   </tbody>
  </table>
  <h3 id="SCRIPT_COUNT">SCRIPT_COUNT (<a href="#SCRIPT_COUNT">
    #183
   </a>
   )
  </h3>
  <p>
   <a href="#messages">
    [Message]
   </a>This message is emitted as response to <a href="#SCRIPT_REQUEST_LIST">SCRIPT_REQUEST_LIST</a> by the MAV to get the number of mission scripts.</p>
  <table class="sortable">
   <thead>
    <tr>
     <th>Field Name</th>
     <th>Type</th>
     <th>Description</th>
    </tr>
   </thead>
   <tbody>
    <tr>
     <td>target_system</td>
     <td>uint8_t</td>
     <td>System ID</td>
    </tr>
    <tr>
     <td>target_component</td>
     <td>uint8_t</td>
     <td>Component ID</td>
    </tr>
    <tr>
     <td>count</td>
     <td>uint16_t</td>
     <td>Number of script items in the sequence</td>
    </tr>
   </tbody>
  </table>
  <h3 id="SCRIPT_CURRENT">SCRIPT_CURRENT (<a href="#SCRIPT_CURRENT">
    #184
   </a>
   )
  </h3>
  <p>
   <a href="#messages">
    [Message]
   </a>This message informs about the currently active SCRIPT.</p>
  <table class="sortable">
   <thead>
    <tr>
     <th>Field Name</th>
     <th>Type</th>
     <th>Description</th>
    </tr>
   </thead>
   <tbody>
    <tr>
     <td>seq</td>
     <td>uint16_t</td>
     <td>Active Sequence</td>
    </tr>
   </tbody>
  </table>
 </body>
</html>